<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>基本信息</title>
	    <script src="__INDEX__/js/mui.min.js"></script>
	<link href="__INDEX__/css/mui.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="__INDEX__/css/iconfont.css" />
	<link rel="stylesheet" href="__INDEX__/css/style.css" />
	<link rel="stylesheet" href="__INDEX__/css/mall.css" />	
	<style type="text/css">
		.step3_list li label{width: 6.3rem;}
	</style>
</head>

<body>
	<header class="mui-bar mui-bar-nav">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="JavaScript:history.go(-1)"></a>
		<h1 class="mui-title">基本信息</h1>
	</header>
	<div class="mui-content">
		<ul class="step_nav">
			<li >
				<p class="nam">第1步</p>
				<p class="nr">基本信息</p>
			</li>
			<li class="iconfont icon-jiantou4"></li>
			<li>
				<p class="nam">第2步</p>
				<p class="nr">注册信息</p>
			</li>
			<li class="iconfont icon-jiantou4"></li>
			<li class="active">
				<p class="nam">第3步</p>
				<p class="nr">结算信息</p>
			</li>
			<li class="iconfont icon-jiantou4"></li>
			<li>
				<p class="nam">第4步</p>
				<p class="nr">照片资料</p>
			</li>
		</ul>
		<form  id="my_form" method="POST">  
		<ul class="mui-table-view step3_list">
		    <li class="mui-table-view-cell">
		        <label><em>*</em>账户名</label>
		        <input type="text" name="account_name" value="{$qy.account_name}"  class="mui-input-group" placeholder="请输入账户名" style="border: 0;" />
		    </li>
		     <li class="mui-table-view-cell">
		        <label><em>*</em>银行帐号</label>
		        <input type="text" class="mui-input-group" value="{$qy.bank_account}"  name="bank_account" placeholder="请输入银行帐号" style="border: 0;" />
		    </li>
		     <li class="mui-table-view-cell">
		        <label><em>*</em>开户银行</label>
		        <input type="text" name="open_bank" value="{$qy.open_bank}" class="mui-input-group" placeholder="请输入开户银行" style="border: 0;" />
		    </li>
		    <li class="mui-table-view-cell">
		        <label><em>*</em>支行所在地区</label>
		        <input type="text" name="branch_address" value="{$qy.branch_address}" class="mui-input-group" placeholder="请填写支行所在地区" style="border: 0;" />
		    </li>
		     <li class="mui-table-view-cell">
		        <label><em>*</em>支行名称</label>
		        <input type="text" name="branch_name" value="{$qy.branch_name}" class="mui-input-group" placeholder="请填写支行名称" style="border: 0;" />
		    </li>
		  	<li class="mui-table-view-cell">
		        <label><em>*</em>预留手机号</label>
		        <input type="text" name="yl_mobile" value="{$qy.yl_mobile}" class="mui-input-group" placeholder="请填写预留手机号" style="border: 0;" />
		    </li>
		</ul>
		
		<button class="qiany_btn" type="button">下一步</button>
		</form>
	</div>
</body>

</html>
{include file="public/footer" /}
<script>
	$(".qiany_btn").click(function(){
		if($("input[name='account_name']").val()==''){
			layer.msg("请输入账户名");
			return;
		}
		if($("input[name='bank_account']").val()==''){
			layer.msg("请输入银行帐号");
			return;
		}
		if($("input[name='open_bank']").val()==''){
			layer.msg("请输入开户银行");
			return;
		}
		if($("input[name='branch_address']").val()==''){
			layer.msg("请填写支行所在地区");
			return;
		}
		if($("input[name='branch_name']").val()==''){
			layer.msg("请填写支行名称");
			return;
		}
		if($("input[name='yl_mobile']").val()==''){
			layer.msg("请填写开户行预留手机号");
			return;
		}
		$.ajax({
				type: 'post',
				url: 'step5',
				data: $('#my_form').serialize(),
				success: function(data) {
							location.href = "{:url('step6')}";
						
				}
			})
	

	})
</script>